<!--
 * @Author: Leng
 * @Date: 2020-07-16 17:04:42
 * @Description: 
 * @FilePath: \vue-leng\src\noUse\demo\mock.vue
-->

<template>
<div>
111
</div>
</template>
<script>

import { getAlarmList } from '../../network/home'
import { mockGetAlarmList } from '../../mock'
export default {
  name: 'mocks',
  data () {
    return {
    }
  },
  methods: {
      //不传参请求
     getAlarmList(){
       getAlarmList().then(res=>{
         console.log(res);
       })
     },
  },
  mounted () {
      this.getAlarmList()
  },
}
</script>
<style scoped lang="scss">

</style>